package com.codeduck.common.enums;

/**
 * @author: <a href="mailto:codeduck@163.com">Codeduck</a>
 * @createDate: 2022-08-19
 */
public enum ResEnum {

    SUCCESS("SUCCESS", "请求成功"),
    FAILED("FAILED", "请求失败")
    ;

    private String code;

    private String message;

    ResEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
